const log = console.log;

try{

let filearr=[1,2,5,8,4,3]

for(let i=0;i<filearr.length;i++){
  log('maopao1');
  for(let j=0;j<filearr.length;j++){
  //let j = 0;
    log('maopao2');
    //if(filearr[j]>filearr[j+1]){
      //temp = filearr[j];
      //filearr[j] = filearr[j+1];
      //filearr[j+1] = temp;
    //}
  }
  log('maojie2');
}
log('maojie1');
}catch(e){
  console.log(e.message);
}

